package com.lu.service;

import com.lu.pojo.AdminUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 后台管理员信息表 服务类
 * </p>
 *
 * @author xiaolu
 * @since 2020-05-27
 */
public interface AdminUserService extends IService<AdminUser> {

    // 验证旧密码是否正确
    boolean validatePassword(Integer userId,String oldPwd);

    // 更新用户信息
    boolean updateUserInfo(AdminUser adminUser);

}
